
<?php
$form = $this->form;
$form->prepare();
//$form->setAttribute('method', 'post');
echo $this->form()->openTag($form);
echo $this->formHidden($form->get('id'));
?>
<div class="form_register">
    <div  class='title_register'>
        Chào mừng bạn đến với Android.website. Bạn hãy đăng ký để là thành viên chính thức.
    </div>
    <div class ="field_register">
        <div class="lev">
            <?php
            $user_name = $form->get('user_name');
            echo $this->formRow($user_name);
            ?>
        </div>
        <div class="lev">
            <?php
            $mail = $form->get('mail');
            echo $this->formRow($mail);
            ?>
        </div>
        <div class="lev">
            <?php
            $re_mail = $form->get('re_mail');
            echo $this->formRow($re_mail);
            ?>
        </div>
        <div class="lev">
            <?php
            $password = $form->get('password');
            echo $this->formRow($password);
            ?>
        </div>
        <div class="lev">
            <?php
            $re_password = $form->get('re_password');
            echo $this->formRow($re_password);
            ?>
        </div>
        <div class="lev">
            <?php
            $first_name = $form->get('first_name');
            echo $this->formRow($first_name);
            ?>
        </div>
        <div class="lev">
            <?php
            $last_name = $form->get('last_name');
            echo $this->formRow($last_name);
            ?>
        </div>
        <div class="lev">
            <?php
            $birth_day = $form->get('birth_day');
            echo $this->formRow($birth_day);
            ?>
        </div>
        <div class="lev">
            <?php
            $captcha = $form->get('captcha');
            echo $this->formRow($captcha);
            ?>
        </div>

    </div>
    <div class="dieule"></div>
    <div class="button"> 
        <?php
        $ok = $form->get('ok');
        echo $this->formSubmit($ok);
        ?>
        <?php $cancel = $form->get('cancel');
        echo $this->formRow($cancel);
        echo $this->form()->closeTag();
        ?>
    </div>
</div>

